import { createStore } from 'redux'
import { createWrapper } from 'next-redux-wrapper'
import rootReducer from './reducers/root.reducer'

const makeStore = context => createStore(rootReducer)

export const wrapper = createWrapper(makeStore, {debug: true});